package com.kdgz.kdgz.sevice.impl;

import com.kdgz.kdgz.beans.Area;
import com.kdgz.kdgz.mapper.AreaMapper;
import com.kdgz.kdgz.sevice.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 区域服务impl
 *
 * @Author Veneno
 * @Desc
 * @date 2021/3/23
 */
@Service
public class AreaServiceImpl implements AreaService {
    @Autowired
    AreaMapper areaMapper;
    @Override
    public List<Area> getAllArea() {
        return areaMapper.selectList(null);
    }
}
